package com.zhf.model;

/**
 * 路由枚举类
 */
public enum ApiRoute {
    ADD_TRAINEE("/trainee/addTrainee"),
    DELETE_TRAINEE("/trainee/deleteTrainee"),
    UPDATE_TRAINEE("/trainee/updateTrainee"),
    SELECT_TRAINEE("/trainee/selectTrainee"),
    ITERATOR_TRAINEE("/trainee/iterator"),

    ADD_QUESTION("/question/addQuestion"),
    DELETE_QUESTION("/question/deleteQuestion"),
    UPDATE_QUESTION("/question/updateQuestion"),
    SELECT_QUESTION("/question/selectQuestion"),
    IMPORT_QUESTION("/question/importQuestion"),

    UPDATE_PASSWORD("/trainee/updatePassword"),
    EXIT_TRAINEE("/trainee/exit"),

    START_EXAMINATION("/exam/startExamination"),

    STATISTIC_EXAM_RESULT("/exam/staticExamResult"),

    QUERY_EXAM_GRADE("exam/queryExamGrade"),

    EXPORT_EXAM_GRADE("exam/exportExamGrade")
    ;

    private String apiRoute;

    ApiRoute(String apiRoute) {
        this.apiRoute = apiRoute;
    }

    public String getApiRoute() {
        return apiRoute;
    }

    public void setApiRoute(String apiRoute) {
        this.apiRoute = apiRoute;
    }
}
